package cn.com.nes.site.service.crm.customer.bo;

import cn.com.nes.site.entity.bo.PageBO;
import cn.hutool.core.util.ObjectUtil;
import lombok.Data;

import java.util.List;

@Data
public class CustomerStaffBO extends PageBO {

    /**
     * 客户联系人主键ID
     */
    private Long id;

    /**
     * 客户UUID
     */
    private String customerUuid;

    /**
     * 联系人姓名
     */
    private String name;

    /**
     * 联系人电话
     */
    private String phone;

    /**
     * 联系人性别
     */
    private String sex;

    /**
     * 联系人部门
     */
    private String department;

    /**
     * 联系人职务
     */
    private String post;

    private Integer isMain;

    private String sfzh;

    private String xzqhdm;

    private Integer isHousehold;

    /**
     * 要删除的联系人主键ID
     */
    private List<Long> deletedIds;

    public boolean isAdd() {
        return ObjectUtil.isNull(this.getId());
    }
}
